NICE
Section: User Commands (1)
Updated: May 8, 1986
Index
Return to Main Contents
NAME
nice, nohup - run a command at low priority (sh only)
SYNOPSIS
nice
[
-number
]
command [ arguments ]
nohup
command [ arguments ]
DESCRIPTION
Nice
executes
command
with low scheduling priority.
If the
number
argument is present, the priority is incremented (higher
numbers mean lower priorities) by that amount up to a limit of 20.
The default
number
is 10.
The super-user may run commands with
priority higher than normal
by using a negative priority,
e.g. `--10'.
Nohup
executes
command
immune to hangup and terminate signals from the controlling terminal.
The priority is incremented by 5.
Nohup
should be invoked from the shell with `&' in order to
prevent it from responding to interrupts by or
stealing the input from
the next person who logs in on the same terminal.
SPRITE
Nice
on Sprite maps Unix priorities in the range -20 to 20 into one
of the five Sprite priorities. The mapping is done as follows:
-20 --- -20 -> -20
-19 --- -10 -> -10
-9 --- 9 -> 0
10 --- 19 -> 10
20 --- 20 -> 20
FILES
nohup.out standard output and standard error file under
nohup
SEE ALSO
csh(1), setpriority(2), renice(8)
DIAGNOSTICS
Nice
returns the exit status of the subject command.
BUGS
Nice
and
nohup
are particular to
sh(1).
If you use
csh(1),
then commands executed with ``&'' are automatically immune to hangup
signals while in the background.
There is a builtin command
nohup
which provides immunity from terminate, but it does not
redirect output to
nohup.out.
Nice
is built into
csh(1)
with a slightly different syntax than described here. The form
``nice +10'' nices to positive nice, and ``nice -10'' can be used
by the super-user to give a process more of the processor.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SPRITE
-
- FILES
-
- SEE ALSO
-
- DIAGNOSTICS
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 04:54:17 GMT, January 31, 2023